<?php
namespace app\common\model;
use think\Db;
/**
 * 店铺模型
 */
class Shop extends Base {
	protected $pk = 'shopId';
	/**
	 * 获取店铺信息
	 */
	public function getFieldsById($shopId,$fields){
		return $this->where(['shopId'=>$shopId,'dataFlag'=>1])->field($fields)->find();
	}
}